var  GOODS = function(){
	var goods = { };
	goods.run = function()
	{
		this.loadgoods();
	};
           
             goods.loadgoods = function(){
	             $.post('/API/Goods/loadgoods',null,function(ret){
	             	if (ret.status==true) {
	             		//辅助函数
				//template.config('escape', false);
				//template.helper('dateFormate',function(time){return getLocalTime(time);});
	             		var html = template('goods-list-tpl', ret);
	             		$("#goods-list-box").append(html);
	             	}  
	            });
             }
     	return goods;     
}();